//
//  YZDoctorModel.m
//  kuaiyi
//
//  Created by WGP on 16/5/4.
//
//

#import "YZDoctorModel.h"

@implementation YZDoctorModel

+(instancetype)doctorMessageWith:(NSDictionary *)dict
{
    id obj = [[self alloc] init];
    [obj setValuesForKeysWithDictionary:dict];
    return obj;
}
+(NSArray *)arrayWithDicts:(NSArray *)dicts
{
    NSMutableArray *arrM = [NSMutableArray array];
    for (NSDictionary *dict in dicts) {
        
        [arrM addObject:[YZDoctorModel doctorMessageWith:dict]];
    }
    return arrM;
}

-(void)setDoctor_portrait:(NSString *)doctor_portrait
{
    _doctor_portrait = doctor_portrait.copy;
    _doctor_portraitURL = [NSURL URLWithString:doctor_portrait];
}

-(void)setValue:(id)value forUndefinedKey:(NSString *)key
{}

@end
